<template>
  <el-image :style="imgstyle" :src="imgurl" :fit="fits[1]"> </el-image>
</template>

<script>
export default {
  name: "MyImg",
  props: ["imgstyle", "imgurl"],
  data() {
    return {
      fits: ["fill", "contain", "cover", "none", "scale-down"],
    };
  },
};
</script>


<style scoped>
</style>
